UccCredentialCache Constructor
This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.
Initializes a new instance of the UccCredentialCache Class .
Namespace: Microsoft.Office.Interop.UccApi
Assembly: Microsoft.Office.Interop.UccApi (in microsoft.office.interop.uccapi.dll)
Syntax
'Declaration
Protected Sub New
protected UccCredentialCache ()
protected:
UccCredentialCache ()
protected UccCredentialCache ()
protected function UccCredentialCache ()
Remarks
As an abstract class, UccCredentialCache does not expose a callable constructor. Instead, a reference to an instantiated class is obtained from an IUccServerSignalingSettings instance.
Example
To obtain a UccCredentialCache instance, a client must first create:
An UriManager factory object.
A platform class instance.
An endpoint created by the platform.
A server signaling settings interface from the endpoint.
The following example obtains a new instance of the cocreatable platform class. This platform class instance is used to create a reference to an IUccEndpoint interface. The endpoint interface is the source of an IUccServerSignalingSettings interface which, in turn exposes a CredentialCache property that returns a reference to a UccCredentialCache instance
IUccUriManager _UriManager = new UccUriManagerClass();
UccUri meUri = _UriManager.ParseUri("jaya@contoso.com");
UccPlatform platform = new UccPlatformClass();
IUccEndpoint endpoint = platform.CreateEndpoint(
UCC_ENDPOINT_TYPE.UCCET_PRINCIPAL_SERVER_BASED,
meUri,
null,
null);
IUccServerSignalingSettings SignalingSettings = endpoint as IUccServerSignalingSettings;
UccCredentialCache credentialCache = SignalingSettings.CredentialCache;
Platforms
Development Platforms
Windows XP Professional with Service Pack 2 (SP2), Windows Server 2000 with Service Pack 4, Windows Server 2003, Windows Vista Ultimate Edition, Windows Vista Business Edition, Windows Vista Enterprise Edition
Target Platforms
See Also
Reference
UccCredentialCache Class
UccCredentialCache Members
Microsoft.Office.Interop.UccApi Namespace