|
Dieser Artikel wurde maschinell übersetzt. Bewegen Sie den Mauszeiger über die Sätze im Artikel, um den Originaltext anzuzeigen. Weitere Informationen
|
Übersetzung
Original
|
ClientBase<TChannel>-Klasse
System.ServiceModel.ClientBase<TChannel>
System.ServiceModel.Activities.WorkflowControlClient
System.ServiceModel.Activities.WorkflowUpdateableControlClient
System.ServiceModel.DuplexClientBase<TChannel>
Namespace: System.ServiceModel
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Der ClientBase<TChannel>-Typ macht die folgenden Member verfügbar.
| Name | Beschreibung | |
|---|---|---|
![]() ![]() ![]() | ClientBase<TChannel>() | |
![]() | ClientBase<TChannel>(InstanceContext) | |
![]() | ClientBase<TChannel>(ServiceEndpoint) | |
![]() ![]() ![]() | ClientBase<TChannel>(String) | |
![]() ![]() ![]() | ClientBase<TChannel>(Binding, EndpointAddress) | |
![]() | ClientBase<TChannel>(InstanceContext, ServiceEndpoint) | |
![]() | ClientBase<TChannel>(InstanceContext, String) | |
![]() ![]() ![]() | ClientBase<TChannel>(String, EndpointAddress) | |
![]() ![]() ![]() | ClientBase<TChannel>(String, String) | |
![]() | ClientBase<TChannel>(InstanceContext, Binding, EndpointAddress) | |
![]() | ClientBase<TChannel>(InstanceContext, String, EndpointAddress) | |
![]() | ClientBase<TChannel>(InstanceContext, String, String) |
| Name | Beschreibung | |
|---|---|---|
![]() ![]() | CacheSetting | |
![]() ![]() ![]() | Channel | |
![]() ![]() | ChannelFactory | |
![]() ![]() ![]() | ClientCredentials | |
![]() ![]() ![]() | Endpoint | |
![]() ![]() ![]() | InnerChannel | |
![]() ![]() ![]() | State |
| Name | Beschreibung | |
|---|---|---|
![]() ![]() ![]() | Abort | |
![]() | Close | |
![]() ![]() ![]() | CreateChannel | |
![]() | DisplayInitializationUI | |
![]() ![]() ![]() | Equals(Object) | |
![]() ![]() ![]() | Finalize | |
![]() ![]() ![]() | GetDefaultValueForInitialization<T> | |
![]() ![]() ![]() | GetHashCode | |
![]() ![]() ![]() | GetType | |
![]() ![]() ![]() | InvokeAsync | |
![]() ![]() ![]() | MemberwiseClone | |
![]() | Open | |
![]() ![]() ![]() | ToString |
| Name | Beschreibung | |
|---|---|---|
![]() ![]() ![]() ![]() | ICommunicationObject.BeginClose(AsyncCallback, Object) | |
![]() ![]() ![]() ![]() | ICommunicationObject.BeginClose(TimeSpan, AsyncCallback, Object) | |
![]() ![]() ![]() ![]() | ICommunicationObject.BeginOpen(AsyncCallback, Object) | |
![]() ![]() ![]() ![]() | ICommunicationObject.BeginOpen(TimeSpan, AsyncCallback, Object) | |
![]() ![]() ![]() ![]() | ICommunicationObject.Close() | |
![]() ![]() ![]() ![]() | ICommunicationObject.Close(TimeSpan) | |
![]() ![]() ![]() ![]() | ICommunicationObject.Closed | |
![]() ![]() ![]() ![]() | ICommunicationObject.Closing | |
![]() ![]() ![]() ![]() | ICommunicationObject.EndClose | |
![]() ![]() ![]() ![]() | ICommunicationObject.EndOpen | |
![]() ![]() ![]() ![]() | ICommunicationObject.Faulted | |
![]() ![]() ![]() ![]() | ICommunicationObject.Open() | |
![]() ![]() ![]() ![]() | ICommunicationObject.Open(TimeSpan) | |
![]() ![]() ![]() ![]() | ICommunicationObject.Opened | |
![]() ![]() ![]() ![]() | ICommunicationObject.Opening | |
![]() ![]() | IDisposable.Dispose |
Fügen Sie den Bereinigungscode in (On)(Begin)Close (and/or OnAbort) ein, nicht in einen Destruktor. Vermeiden Sie Destruktoren: Sie bewirken, dass der Compiler IDisposable automatisch generiert. Vermeiden Sie Member ohne Verweis: Sie können bewirken, dass der Compiler IDisposable automatisch generiert. Vermeiden Sie Finalizer. Wenn Sie dennoch einen Finalizer verwenden, sollten Sie die Buildwarnung unterdrücken und SuppressFinalize(Object) sowie den Finalizer über (On)(Begin)Close (and/or OnAbort) aufrufen, um das ansonsten automatisch generierte IDisposable-Verhalten zu emulieren.
public partial class SampleServiceClient : System.ServiceModel.ClientBase<ISampleService>, ISampleService { public SampleServiceClient() { } public SampleServiceClient(string endpointConfigurationName) : base(endpointConfigurationName) { } public SampleServiceClient(string endpointConfigurationName, string remoteAddress) : base(endpointConfigurationName, remoteAddress) { } public SampleServiceClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) : base(endpointConfigurationName, remoteAddress) { } public SampleServiceClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : base(binding, remoteAddress) { } public string SampleMethod(string msg) { return base.Channel.SampleMethod(msg); } }
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core-Rolle wird nicht unterstützt), Windows Server 2008 R2 (Server Core-Rolle wird mit SP1 oder höher unterstützt; Itanium wird nicht unterstützt)
.NET Framework unterstützt nicht alle Versionen sämtlicher Plattformen. Eine Liste der unterstützten Versionen finden Sie unter Systemanforderungen für .NET Framework.



