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.

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:
© 2017 Microsoft