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: