Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

PersistenceProvider::Id Property

 

Represents the Guid associated with this instance.

Namespace:   System.ServiceModel.Persistence
Assembly:  System.WorkflowServices (in System.WorkflowServices.dll)

public:
property Guid Id {
	Guid get();
}

Property Value

Type: System::Guid

The GUID associated with this instance.

The following code demonstrates how to use the Id property.

FilePersistenceProviderFactory factory = new FilePersistenceProviderFactory();
PersistenceProvider provider = factory.CreateProvider(new Guid());
Guid providerId = provider.Id;

.NET Framework
Available since 3.5
Return to top
Show:
© 2017 Microsoft