Class MirroringSourceClient
The MirroringSourceClient is a proxy (client) to MirroringSourceServer
Inheritance
System.Object
MirroringSourceClient
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.MirroringService.MirroringSourceService
Assembly: EPiServer.Enterprise.dll
Version: 8.11.0Syntax
public class MirroringSourceClient : IMirroringSource, IDisposable
Constructors
MirroringSourceClient(String)
Initializes a new instance of the MirroringSourceClient class.
Declaration
public MirroringSourceClient(string endpoint)
Parameters
Type | Name | Description |
---|---|---|
System.String | endpoint | The endpoint. |
MirroringSourceClient(String, String, String)
Initializes a new instance of the MirroringSourceClient class.
Declaration
public MirroringSourceClient(string endpoint, string proxyUserName, string proxyPassword)
Parameters
Type | Name | Description |
---|---|---|
System.String | endpoint | The endpoint. |
System.String | proxyUserName | Name of the proxy user. |
System.String | proxyPassword | The proxy password. |
Methods
Dispose()
Declaration
public void Dispose()
GetCommunicationState()
Gets the state of the communication.
Declaration
public CommunicationState GetCommunicationState()
Returns
Type | Description |
---|---|
System.ServiceModel.CommunicationState |
StartMirroring(String, Guid, ValidationContext)
Declaration
public bool StartMirroring(string siteId, Guid contextId, ValidationContext validationContext)
Parameters
Type | Name | Description |
---|---|---|
System.String | siteId | |
System.Guid | contextId | |
ValidationContext | validationContext |
Returns
Type | Description |
---|---|
System.Boolean |
Events
ChannelFactoryCreating
Occurs when [channel factory creating].
Declaration
public static event EventHandler<ChannelFactoryEventArgs<IMirroringSource>> ChannelFactoryCreating
Event Type
Type | Description |
---|---|
System.EventHandler<ChannelFactoryEventArgs<IMirroringSource>> |
CommunicationClosed
Declaration
public event EventHandler CommunicationClosed
Event Type
Type | Description |
---|---|
System.EventHandler |
CommunicationOpened
Declaration
public event EventHandler CommunicationOpened
Event Type
Type | Description |
---|---|
System.EventHandler |
Implements
System.IDisposable