LifetimeContext::AllocateSharingId Method ()

.NET Framework (current version)
 

Generates an identifier that can be used to locate shared part instances.

Namespace:   System.Composition.Hosting.Core
Assembly:  System.Composition.Hosting (in System.Composition.Hosting.dll)

public:
static int AllocateSharingId()

Return Value

Type: System::Int32

A new unique identifier.

Return to top
Show: