2 writes to serviceName
System.ServiceModel (2)
System\ServiceModel\Channels\SharedConnectionListener.cs (2)
341
this.
serviceName
= SharedConnectionListener.GetServiceName(isTcp);
1133
serviceName
= SharedConnectionListener.GetServiceName(isTcp);
28 references to serviceName
System.ServiceModel (28)
System\ServiceModel\Channels\SharedConnectionListener.cs (28)
362
SR.GetString(SR.Sharing_EmptyListenerEndpoint, this.
serviceName
)));
391
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new CommunicationException(SR.GetString(SR.SharedManagerBase,
serviceName
, SR.GetString(SR.SharedManagerServiceSecurityFailed))));
399
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new CommunicationException(SR.GetString(SR.SharedManagerBase,
serviceName
, SR.GetString(SR.SharedManagerServiceSecurityFailed))));
552
listenerUniqueSid = Utility.GetWindowsServiceSid(
serviceName
);
557
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new CommunicationException(SR.GetString(SR.SharedManagerBase,
serviceName
, SR.GetString(SR.SharedManagerServiceSidLookupFailure, exception.NativeErrorCode)), exception));
565
listenerPid = Utility.GetPidForService(
serviceName
);
570
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new CommunicationException(SR.GetString(SR.SharedManagerBase,
serviceName
, SR.GetString(SR.SharedManagerServiceLookupFailure, exception.NativeErrorCode)), exception));
579
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new CommunicationException(SR.GetString(SR.SharedManagerBase,
serviceName
, SR.GetString(SR.SharedManagerUserSidLookupFailure, exception.NativeErrorCode)), exception));
587
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new CommunicationException(SR.GetString(SR.SharedManagerBase,
serviceName
, SR.GetString(SR.SharedManagerLogonSidLookupFailure, exception.NativeErrorCode)), exception));
596
EndpointAddress epa = new EndpointAddress(Utility.FormatListenerEndpoint(this.
serviceName
,
643
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new AddressAlreadyInUseException(SR.GetString(SR.SharedManagerBase,
serviceName
, SR.GetString(SR.SharedManagerConflictingRegistration))));
645
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new AddressAlreadyInUseException(SR.GetString(SR.SharedManagerBase,
serviceName
, SR.GetString(SR.SharedManagerFailedToListen))));
647
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new CommunicationException(SR.GetString(SR.SharedManagerBase,
serviceName
, SR.GetString("SharedManager" + status))));
676
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new CommunicationException(SR.GetString(SR.SharedManagerBase,
serviceName
, SR.GetString(SR.SharedManagerCurrentUserSidLookupFailure, exception.NativeErrorCode)), exception));
694
serviceName
, SR.GetString(SR.SharedManagerAllowDupHandleFailed, listenerUniqueSid.Value)), exception));
700
SR.GetString(SR.TraceCodePortSharingDupHandleGranted,
serviceName
, listenerUniqueSid.Value));
1095
SR.GetString(SR.TraceCodeSharedManagerServiceEndpointNotExist,
serviceName
), null, null);
1113
this.
serviceName
);
1122
serviceName
, SR.GetString(SR.SharedManagerServiceEndpointReadFailure, exception.NativeErrorCode));
1144
ServiceController service = new ServiceController(
serviceName
);
1148
Debug.Print("ListenerServiceHelper.HandleServiceStart() service serviceName: " +
serviceName
+ " is in status serviceStatus: " + serviceStatus);
1189
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new CommunicationException(SR.GetString(SR.SharedManagerBase,
serviceName
, SR.GetString(SR.SharedManagerServiceStartFailureDisabled,
serviceName
)), exception));
1193
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new CommunicationException(SR.GetString(SR.SharedManagerBase,
serviceName
, SR.GetString(SR.SharedManagerServiceStartFailure, win32Exception.NativeErrorCode)), exception));
1198
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new CommunicationException(SR.GetString(SR.SharedManagerBase,
serviceName
, SR.GetString(SR.SharedManagerServiceStartFailureNoError)), exception));
1216
Debug.Print("ListenerServiceHelper.HandleServiceStart() service serviceName: " +
serviceName
+ " is in status serviceStatus: " + serviceStatus);
1223
Debug.Print("ListenerServiceHelper.HandleServiceStart() final, service serviceName: " +
serviceName
+ " is in status serviceStatus: " + serviceStatus);
1227
SR.SharedManagerBase,
serviceName
, SR.GetString(SR.SharedManagerServiceStartFailureNoError))));